@import 'src/app/common/styles/variable/index.scss';
@import 'src/app/common/styles/mixin/index.scss';
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: $navbarHeight;
  &.theme-dark {
    .btn {
      color: #424242;
    }
    .title {
      color: $font1;
    }
  }
  &.theme-light {
    color: #fff;
  }
  .left,
  .right {
    font-size: 0.14rem;
    box-sizing: border-box;
    .btn {
      padding: 0 calc(#{$pagePadding} - 0.02rem);
      height: $navbarHeight;
      .icon {
        font-size: 0.18rem;
      }
    }
  }
  .title {
    position: absolute;
    top: 0;
    left: 50%;
    @include ellipsis(2.2rem);
    margin-left: -1.1rem;
    height: $navbarHeight;
    line-height: $navbarHeight;
    font-size: 0.18rem;
    text-align: center;
  }
  .right {
    .rightText {
      margin-left: 0.04rem;
    }
  }
}
.fill {
  height: $navbarHeight;
}
